package com.sjzxywlkj.cplife.alipay.request.entity;

import com.alibaba.fastjson.JSON;

/**
 * 查询小区房屋信息列表请求参数
 * url:https://docs.open.alipay.com/api_20/alipay.eco.cplife.roominfo.query/
 */
public class RoominfoQuery {

    //传入该小区在支付宝社区物业平台中的唯一编号，通过小区创建和查询接口获取。
    private String community_id;

    //分页查询的页码数，分页从1开始计数。该参数不传入的时候，默认为1
    private Integer page_num;

    //分页查询的每页最大数据条数。默认为200
    private Integer page_size;

    public String toJson() {
        return JSON.toJSONString(this);
    }

    public RoominfoQuery() {
        super();
    }

    public RoominfoQuery(String community_id, Integer page_num, Integer page_size) {
        super();
        this.community_id = community_id;
        this.page_num = page_num;
        this.page_size = page_size;
    }

    public String getCommunity_id() {
        return community_id;
    }

    public void setCommunity_id(String community_id) {
        this.community_id = community_id;
    }

    public Integer getPage_num() {
        return page_num;
    }

    public void setPage_num(Integer page_num) {
        this.page_num = page_num;
    }

    public Integer getPage_size() {
        return page_size;
    }

    public void setPage_size(Integer page_size) {
        this.page_size = page_size;
    }

}
